<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			let win
			function fun1(){
				let f="width=800px,height=600px,left=300px,top=300px"
				win=window.open("https://www.pzhu.cn","攀枝花学院",f)
			}
			function fun2(){
				win.close()
			}
			
		</script>
	</head>
	<body>
		<button type="button" onclick="fun1()">打开</button>
		<button type="button" onclick="fun2()">关闭</button>
	</body>
</html>
